import request from '@/utils/request'

export function todayorder(query) {
  return request({
    url: '/getDayOderCountBySeller',
    method: 'post',
    data: query
  })
}

export function weekorder(query) {
  return request({
    url: '/getWeekOderCountBySeller',
    method: 'post',
    data: query
  })
}

export function monthorder(query) {
  return request({
    url: '/getmonthOderCountBySeller',
    method: 'post',
    data: query
  })
}
export function totalorder(query) {
  return request({
    url: '/getAllOderCountBySeller',
    method: 'post',
    data: query
  })
}
export function totalgain(query) {
  return request({
    url: '/getAllgainBySeller',
    method: 'post',
    data: query
  })
}
export function monthgain(query) {
  return request({
    url: '/getmonthgainBySeller',
    method: 'post',
    data: query
  })
}
export function GetOneSellerOrdersById(query) {
  return request({
    url: '/GetOneSellerOrdersById',
    method: 'post',
    data: query
  })
}
export function GetOrdersByFitFind(query) {
  return request({
    url: '/GetOrdersByFitFind',
    method: 'post',
    data: query
  })
}
export function GetOneOrdersById(query) {
  return request({
    url: '/GetOneOrdersById',
    method: 'post',
    data: query
  })
}
